/*
 * Base structure
 */

/* Move down content because we have a fixed navbar that is 50px tall */
body {
  padding-top: 50px;
}

/*.background-sea {
    position: static;
    z-index: -1;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
}*/


/*
 * Fonts and colors
 */

.background-sea, .sidebar, .map-wrapper { 
    background-color: #8FBCDB; // sea blue
}


/*
 * Navbar
 */

.long-name {
    display: none;
}

@media (min-width: 330px) {
    .short-name {
        display: none;
    }
    .long-name {
        display: inline-block;
    }
}


/*
 * Sidebar
 */

.sidebar {
    display: block;
    padding: 15px 13px 0px 13px;
    //border-right: 1px solid #eee;
}


@media (min-width: 768px) {
    .sidebar {
        position: fixed;
        left: 0;
        top: 51px;
        z-index: 1000;
        bottom: 0;
        overflow-x: hidden;
        overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
    }
}

.panel-heading {
    cursor: pointer;
}

.panel-title {
    font-size: 14px;
}

.panel-title:after {
    font-family: 'Glyphicons Halflings';
    content: '\e114';
    float: right;
    color: #51a0c5;
    position: absolute;
    right: 23px;
    margin: 0px 5px;
}

.panel-heading.collapsed .panel-title:after {
    content: '\e080';
}


.panel-body {
    padding: 8px 10px;
}

.panel-body p {
    font-size: 12px;
    margin-bottom: 5px;
}

.panel-body p:last-child {
    margin-bottom: 0px;
}

.tick-mark {
    position: absolute;
    display: inline-block;
    padding: 0px; 
    margin: 0px;
    width: 10px;
    height: 10px;
    margin-left: -5px;
    background-color: #cccccc;
    border-radius: 5px;
}

.tick-label {
    position: absolute;
    display: inline-block;
    margin-left: -11px;
    top: 15px;
    font-size: 10px;
}

.square {
    width: 12px;
    height: 12px;
    margin-right: 4px;
    display: inline-block;
}

.twbColor {
    background-color: #cd97bb;
}

.undpColor {
    background-color: #bbcd97;
}

.dropdown-menu li{
    cursor: pointer;
}


.breadcrumb {
    margin-bottom: 10px;
}

.breadcrumb:last-child {
    margin-bottom: 0px;
}

.panel-body hr {
    margin-top: 10px;
    margin-bottom: 10px;
}

@media (max-width: 768px), (min-width: 1000px) {
    #timeSlider{
        margin-left: 15px;
    }
}

.panel-body input {
    position: relative;
    top: 2px;
    margin-left: 3px;
}

.breadcrumb .glyphicon {
    margin-right: 4px;
}

/*
 * Charts
 */
#chart {
    //width: 100%;
    height: 120px;
}

/*
 * Map
 */

.map-wrapper {
    position: relative;
    padding: 15px 2px 2px 2px
}

#map {
    height: auto;
    width: 100%;
}

@media (min-width: 768px) {
    .map-wrapper {
        position: absolute;
        top: 0px;
        bottom: 0px;
        left: 0px;
        right: 0px;
        margin-top: 50px;
    }

    #map {
        height: 100%;
        width: 100%;
    }
}

#legend-panel .panel-body table td {
	vertical-align:top; padding-left:10px; font-size:12px;
}